package com.shop.pojo;

import java.math.BigDecimal;

/**
 * Price entity. @author MyEclipse Persistence Tools
 */

public class Price implements java.io.Serializable
{

	// Fields

	private String idPrice;
	private Book book;
	private Utype utype;
	private BigDecimal realprice;

	// Constructors

	/** default constructor */
	public Price()
	{
	}

	/** minimal constructor */
	public Price(String idPrice, BigDecimal realprice)
	{
		this.idPrice = idPrice;
		this.realprice = realprice;
	}

	/** full constructor */
	public Price(String idPrice, Book book, Utype utype, BigDecimal realprice)
	{
		this.idPrice = idPrice;
		this.book = book;
		this.utype = utype;
		this.realprice = realprice;
	}

	// Property accessors

	public String getIdPrice()
	{
		return this.idPrice;
	}

	public void setIdPrice(String idPrice)
	{
		this.idPrice = idPrice;
	}

	public Book getBook()
	{
		return this.book;
	}

	public void setBook(Book book)
	{
		this.book = book;
	}

	public Utype getUtype()
	{
		return this.utype;
	}

	public void setUtype(Utype utype)
	{
		this.utype = utype;
	}

	public BigDecimal getRealprice()
	{
		return this.realprice;
	}

	public void setRealprice(BigDecimal realprice)
	{
		this.realprice = realprice;
	}

}